package org.github.manx98.jlibhac.tools.fssystem.ncautils;

import lombok.ToString;
import org.github.manx98.jlibhac.common.math.Uint32;
import org.github.manx98.jlibhac.common.reflect.StructureMap;

/**
 * @author Manx98
 * @version 1.0
 * @since 2022/10/4 0:34
 */
@ToString
public class IvfcStruct {
    public static final int IvfcLevelsOffset = 0x10;
    public static final int SaltSourceOffset = 0xA0;
    public static final int SaltSourceSize = 0x20;
    public static final int MasterHashOffset = 0xC0;

    @StructureMap(offset = 0)
    public Uint32 Magic;
    @StructureMap(offset = 4)
    public int Version;
    @StructureMap(offset = 8)
    public int MasterHashSize;
    @StructureMap(offset = 12)
    public int LevelCount;
}
